home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultra Pack
/
UltraComputing Partner Applications.iso
/
WWW
/
cameleo.run.sh
< prev
next >
Wrap
Linux/UNIX/POSIX Shell Script
|
1996-06-10
|
1KB
|
39 lines
#!/bin/sh
# set -x
#
cd $ULTRA_PACK_HOME/Caldera/Cameleo
#
CAMELEODIR=`pwd`
#
PATH=$CAMELEODIR/bin:$PATH
#
LD_LIBRARY_PATH=/opt/SUNWdxlib/lib/dxlib/SunOS5.x:/usr/dt/lib:$CAMELEODIR/lib/X11:/opt/SUNWits/Graphics-sw/xil/lib:/usr/openwin/lib:/usr/lib:$LD_LIBRARY_PATH
#
XUSERFILESEARCHPATH=$CAMELEODIR/lib/X11/app-defaults/%N
XAPPLRESDIR=$CAMELEODIR/lib/X11/app-defaults
HOME=/tmp
export LD_LIBRARY_PATH XUSERFILESEARCHPATH CAMELEODIR PATH HOME XAPPLRESDIR
#
cd $CAMELEODIR
cp $CAMELEODIR/lib/.CAS.config /tmp/.CAS.config
cp $CAMELEODIR/.CONFIG.OTHER /tmp/.CONFIG
cp ../IMAGES/start /tmp/img.0000.0
#
ln -s `pwd`/GENERAL/DATA/FOTOTUNE/Tags /tmp/ColorTags
ln -s `pwd`/GENERAL/DATA/FOTOTUNE/References /tmp/ColorReferences
ln -s `pwd`/GENERAL/DATA/FOTOTUNE/Links /tmp/ColorLinks
ln -s `pwd`/GENERAL/DATA/FOTOTUNE/Setup /tmp/ColorSetup
#
chmod 666 /tmp/.CONFIG
chmod 666 /tmp/img.0000.0
#
/opt/SUNWdxlib/bin/dxlib $CAMELEODIR/bin/cameleo
#
# Cleanup
rm /tmp/Color[A-Z]*
rm /tmp/.CONFIG
rm /tmp/.CAS.config*
rm /tmp/CASTMP/*
rm /tmp/img.0000.0
rmdir /tmp/CASTMP